package org.kits.conf;

import org.activiti.engine.impl.cfg.IdGenerator;

import java.util.UUID;

/**
 * @author SKyOne
 * @create 2020-06-11 8:42
 */
public class IdGen implements IdGenerator {
    @Override
    public String getNextId() {
        return IdGen.uuid();
    }

    public static String uuid(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }
}
